package edu.sctu.zhengsenwen.month201506.day20150603;

import java.util.ArrayList;
import java.util.List;

/**
* Created by user15 on 2015/6/2.
*/
public class PassengerData {


    List<Passenger> list = new ArrayList<Passenger>();

    public List<Passenger> PassengerData(){

        Passenger passengers1 = new Passenger();

        passengers1.setName("张三");
        passengers1.setCard(true);
        passengers1.setCardName("会员卡");
        passengers1.setCardNumber(101014);
        passengers1.setBag(false);
        passengers1.setBagName("管制刀具");
        passengers1.setWater(true);
        passengers1.setWaterName("矿泉水");
        passengers1.setPrice(16);
        passengers1.setStart("天府广场");
        passengers1.setEnd("犀浦");
        passengers1.setThief(true);
        passengers1.setThiefAction("偷东西");

        list.add(passengers1);



        Passenger passengers2 = new Passenger();

        passengers2.setName("李四");
        passengers2.setCard(false);
        passengers2.setCardNumber(101074);
        passengers2.setBag(false);
        passengers2.setBagName("书");
        passengers2.setWater(true);
        passengers2.setWaterName("矿泉水");
        passengers2.setPrice(6);
        passengers2.setStart("茶店子");
        passengers2.setEnd("犀浦");

        list.add(passengers2);



        Passenger passengers3 = new Passenger();

        passengers3.setName("王麻子");
        passengers3.setCard(true);
        passengers3.setCardName("普通卡");
        passengers3.setCardNumber(101020);
        passengers3.setBag(false);
        passengers3.setBagName("手机");
        passengers3.setPrice(10);
        passengers3.setStart("天府广场");
        passengers3.setEnd("春熙路");

        list.add(passengers3);

        return list;
    }

}




